package com.yitao.cms.dto.cashCoupons;

import com.skipper.base.dto.BaseDto;
import com.yitao.cms.utils.DateUtils;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Author: wwl
 * @Date: 2020/3/14 17:28
 * @Description:
 */
public class CashCouponsExpandDto extends BaseDto {
    @ApiModelProperty("店铺名称")
    private String shopName;
    @ApiModelProperty("店铺logo(url)")
    private String shopLogo;
    @ApiModelProperty("店铺主图")
    private String shopMainImgUrl;

    @ApiModelProperty("代金券名称")
    private String couponsName;

    @ApiModelProperty("可使用面额 单位为分")
    private Long faceValue;
    @ApiModelProperty("可使用面额 单位为元")
    private Double faceValueYuan;
    @ApiModelProperty("满足金额 单位为分")
    private Long amountValue;
    @ApiModelProperty("满足金额 单位为元")
    private Double amountValueYuan;
    @ApiModelProperty("有效天数")
    private Integer validDays;
    @ApiModelProperty("代金券使用开始时间")
    private Date startTime;
    @ApiModelProperty("代金券使用开始时间")
    private String startTimeStr;
    @ApiModelProperty("代金券使用结束时间")
    private Date endTime;
    @ApiModelProperty("代金券使用结束时间")
    private String endTimeStr;
    @ApiModelProperty("现金券使用对象：1:全部商品，2:指定商品")
    private Integer couponsGoodsType;
    @ApiModelProperty("现金券所属门店id")
    private Long shopId;
    @ApiModelProperty("现金券推广名")
    private String cashCouponsExpandName;
    @ApiModelProperty("推广产品信息")
    private CashCouponsExpandProductDto cashCouponsExpandProductDto;

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopLogo() {
        return shopLogo;
    }

    public void setShopLogo(String shopLogo) {
        this.shopLogo = shopLogo;
    }

    public String getShopMainImgUrl() {
        return shopMainImgUrl;
    }

    public void setShopMainImgUrl(String shopMainImgUrl) {
        this.shopMainImgUrl = shopMainImgUrl;
    }

    public String getCouponsName() {
        return couponsName;
    }

    public void setCouponsName(String couponsName) {
        this.couponsName = couponsName;
    }

    public Long getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(Long faceValue) {
        this.faceValue = faceValue;
    }

    public Double getFaceValueYuan() {
        return faceValueYuan;
    }

    public void setFaceValueYuan(Double faceValueYuan) {
        this.faceValueYuan = faceValueYuan;
    }

    public Long getAmountValue() {
        return amountValue;
    }

    public void setAmountValue(Long amountValue) {
        this.amountValue = amountValue;
    }

    public Double getAmountValueYuan() {
        return amountValueYuan;
    }

    public void setAmountValueYuan(Double amountValueYuan) {
        this.amountValueYuan = amountValueYuan;
    }

    public Integer getValidDays() {
        return validDays;
    }

    public void setValidDays(Integer validDays) {
        this.validDays = validDays;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getStartTimeStr() {
        return DateUtils.getDateSecondFormatCashCoupons(startTime);
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getEndTimeStr() {
        return DateUtils.getDateSecondFormatCashCoupons(endTime);
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }

    public Integer getCouponsGoodsType() {
        return couponsGoodsType;
    }

    public void setCouponsGoodsType(Integer couponsGoodsType) {
        this.couponsGoodsType = couponsGoodsType;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public CashCouponsExpandProductDto getCashCouponsExpandProductDto() {
        return cashCouponsExpandProductDto;
    }

    public void setCashCouponsExpandProductDto(CashCouponsExpandProductDto cashCouponsExpandProductDto) {
        this.cashCouponsExpandProductDto = cashCouponsExpandProductDto;
    }

    public String getCashCouponsExpandName() {
        return cashCouponsExpandName;
    }

    public void setCashCouponsExpandName(String cashCouponsExpandName) {
        this.cashCouponsExpandName = cashCouponsExpandName;
    }
}
